mimeEncodeForMIMEHeader
Type
function
Summary
Encode data for MIME header
Syntax
mimeEncodeForMIMEHeader(<pData>,<pEncoding>)
Description
Use the mimeEncodeForMIMEHeader function to encode data for MIME headers
Parameters
Name | Type | Description |
---|---|---|
pData | The data to be encoded. If the parameter is not binary data then it will be encoded to binary as UTF-8 encoded text before encoding with the requested form. | |
pEncoding | The encoding to return the data in
|
Examples
local tSubject
put "Attn René" into tSubject
put mimeEncodeForMIMEHeader(tSubject, "q") into tHeadersA["Subject"]
Related
function: textEncode